package com.test.javafaq_portal.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class CommentVo {

    @NotNull(message = "答案ID不能为空")
    private Integer answerId;

    @NotBlank(message = "答案内容不能为空")
    private String content;

}
